const { Sequelize, DataTypes } = require('sequelize');

const sequelize = require('../utils/database');

module.exports = sequelize.define('user', {
    id: {
        type: DataTypes.INTEGER,
        unique: true,
        autoIncrement: true,
        primaryKey: true,
        allowNull: false
    },
    name: DataTypes.STRING,
    email: DataTypes.STRING
})